home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 04 - 1988 / 04.01 Jan 88 / Downloader Source / StdFilePkg.h < prev   
Encoding:
C/C++ Source or Header  |  1986-09-14  |  810 b   |  56 lines  |  [TEXT/KAHL]

  1.  
  2. /*
  3.  *  StdFilePkg.h
  4.  *
  5.  *  Copyright (c) 1986 THINK Technologies, Inc.
  6.  *  These interfaces are based on information published in
  7.  *  "Inside Macintosh" by Apple Computer, Addison-Wesley,
  8.  *  Reading (Mass.), 1985-86.
  9.  *
  10.  */
  11.  
  12. #ifndef    _StdFilePkg_
  13. #define _StdFilePkg_
  14.  
  15. #define    putDlgID    -3999
  16.  
  17. enum {
  18.     putSave = 1,
  19.     putCancel,
  20.     putEject = 5,
  21.     putDrive,
  22.     putName
  23. };
  24.  
  25. #define    getDlgID    -4000
  26.  
  27. enum {
  28.     getOpen = 1,
  29.     getCancel = 3,
  30.     getEject = 5,
  31.     getDrive,
  32.     getNmList,
  33.     getScroll
  34. };
  35.  
  36.  
  37. typedef    struct    SFReply    
  38.     {
  39.     char            good;
  40.     char            copy;
  41.     long            fType;        /* array[1..4] of char; */
  42.     int                vRefNum;
  43.     int                version;
  44.     unsigned char    fName[64];
  45.     }SFReply;
  46.  
  47. typedef    long    SFTypeList[4];    /* array[0..3] of OSType; */
  48.  
  49.  
  50. /*  low-memory globals  */
  51. extern int SFSaveDisk : 0x214;
  52. extern long CurDirStore : 0x398;
  53.  
  54.  
  55. #endif
  56.